package com.wanxi.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data//表示set/get/toString
public class UserDTO {
    private Integer id;//主键
    private String createTime;//创建时间
    private String updateTime;
    private Integer enable;//启用，停用逻辑删除 状态 delete物理删除
    //    互联网是由记忆的
    private String remark;//标记 ，备注,备用

    private String username;
    private String address;
    private String email;
    private String phone;
    private String sex;
    private String hobby;
    private String birthday;

    public UserDTO(Integer id, String username) {
        this.id = id;
        this.username = username;
    }
}
